home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacAdvocate 2
/
MACADVCT.ISO
/
mac
/
Goodies
/
Fun Stuff
/
Utilities
/
UltraFind
/
AppleScript™ Examples
/
UTF Get Source
< prev
next >
Wrap
Text File
|
1996-03-15
|
785b
|
24 lines
tell application "UltraFind 2.2"
clear
set the fileKind of its searchRoutine to folder
set the text of the fileName of its searchRoutine to "2.1"
set the searchType of the fileName of its searchRoutine to nameIs
scan
end tell
if the result is not equal to 1 then
display dialog "Cant find Ultrafind's source folder '2.1'"
else
tell application "UltraFind 2.2"
copy the accessPath of fileRecord 1 to developFolder
clear
set the confineDirectory of its searchRoutine to (developFolder as alias)
set the text of fileName of its searchRoutine to ".c"
set the searchType of fileName of its searchRoutine to nameEndsWith
scan
set the text of fileName of its searchRoutine to ".h"
scan
set the text of fileName of its searchRoutine to ".rsrc"
scan
end tell
end if